package com.hdl.dto;



public class UserSearch {

	/**
	 * 需要排序的字段名
	 */
	private String sortName;
	
	/**
	 * 排序方式：asc | desc
	 */
	private String sortOrder;
	
	/**
	 * 每页最大数
	 */
	private Integer pageSize=10;
	
	/**
	 * 页码
	 */
	private Integer pageNumber=1;
	
	/**
	 * 模糊搜索的条件
	 */
	private String key;
	private String  sysRoleid;
	private String sysRoleId;
	
	
	public String getSysRoleid() {
		return sysRoleid;
	}

	public void setSysRoleid(String sysRoleid) {
		this.sysRoleid = sysRoleid;
	}

	public String getSysRoleId() {
		return sysRoleId;
	}

	public void setSysRoleId(String sysRoleId) {
		this.sysRoleId = sysRoleId;
	}

	public UserSearch(){
		setSortName("HDL_USER_ID");
		setSortOrder("DESC");
	}

	public String  getHdlUserid() {
		return sysRoleid;
	}

	public void setHdlUserid(String sysRoleid) {
		this.sysRoleid = sysRoleid;
	
	}
	
	

	public String getSortName() {
		return sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public String getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	@Override
	public String toString() {
		return "UserSearch [sortName=" + sortName + ", sortOrder=" + sortOrder + ", pageSize=" + pageSize
				+ ", pageNumber=" + pageNumber + ", key=" + key + ", sysRoleid=" + sysRoleid + ",sysRoleId="+sysRoleId+"]";
	}
	
	
	
}
